home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / background_2612.txt < prev    next >
Encoding:
Text File  |  1991-04-30  |  10.7 KB  |  513 lines

  1. -- background: 2612 from stack: in.3r
  2. -- bmap block id: 2821
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: XCMDs
  6. ----- HyperTalk script -----
  7. on opencard
  8.   put (the number of this card - the number of first card of this background+1) into field "PageNumber"
  9.   set scroll of field description to 0
  10.   set scroll of field syntax to 0
  11.   put "XCMD" into field "type"
  12. end opencard
  13.  
  14.  
  15.  
  16. -- part 2 (field)
  17. -- low flags: 01
  18. -- high flags: 0004
  19. -- rect: left=3 top=3 right=37 bottom=286
  20. -- title width / last selected line: 0
  21. -- icon id / first selected line: 0 / 0
  22. -- text alignment: 0
  23. -- font id: 2
  24. -- text size: 24
  25. -- style flags: 0
  26. -- line height: 32
  27. -- part name: Name
  28.  
  29.  
  30. -- part 3 (field)
  31. -- low flags: 00
  32. -- high flags: 4007
  33. -- rect: left=58 top=47 right=230 bottom=274
  34. -- title width / last selected line: 0
  35. -- icon id / first selected line: 0 / 0
  36. -- text alignment: 0
  37. -- font id: 3
  38. -- text size: 9
  39. -- style flags: 0
  40. -- line height: 12
  41. -- part name: description
  42. ----- HyperTalk script -----
  43. on mousewithin
  44.   --This uses the ART hypertext method to link to another card.
  45.   --It calls the HyperText function in the stack script
  46.   if selection is not empty then put HyperText(selection) into it
  47. end mousewithin
  48.  
  49.  
  50.  
  51. -- part 6 (button)
  52. -- low flags: 00
  53. -- high flags: 2000
  54. -- rect: left=437 top=11 right=33 bottom=459
  55. -- title width / last selected line: 0
  56. -- icon id / first selected line: 1014 / 1014
  57. -- text alignment: 1
  58. -- font id: 0
  59. -- text size: 12
  60. -- style flags: 0
  61. -- line height: 16
  62. -- part name: Prev
  63. ----- HyperTalk script -----
  64. on mousestilldown
  65.   global scrolling
  66.   put true into scrolling
  67.   goPrev
  68. end mousestilldown
  69.  
  70. on mouseup
  71.   global scrolling
  72.   if not scrolling then goPrev
  73.   put false into scrolling
  74. end mouseup
  75.  
  76.  
  77.  
  78. -- part 7 (button)
  79. -- low flags: 00
  80. -- high flags: 2000
  81. -- rect: left=488 top=11 right=33 bottom=510
  82. -- title width / last selected line: 0
  83. -- icon id / first selected line: 1013 / 1013
  84. -- text alignment: 1
  85. -- font id: 0
  86. -- text size: 12
  87. -- style flags: 0
  88. -- line height: 16
  89. -- part name: Next
  90. ----- HyperTalk script -----
  91. on mousestilldown
  92.   global scrolling
  93.   put true into scrolling
  94.   goNext
  95. end mousestilldown
  96.  
  97. on mouseup
  98.   global scrolling
  99.   if not scrolling then goNext
  100.   put false into scrolling
  101. end mouseup
  102.  
  103.  
  104.  
  105. -- part 9 (button)
  106. -- low flags: 00
  107. -- high flags: 2004
  108. -- rect: left=3 top=47 right=90 bottom=50
  109. -- title width / last selected line: 0
  110. -- icon id / first selected line: 11645 / 11645
  111. -- text alignment: 1
  112. -- font id: 0
  113. -- text size: 12
  114. -- style flags: 0
  115. -- line height: 16
  116. -- part name: Return
  117. ----- HyperTalk script -----
  118. on mouseUp
  119.   if the optionkey is down then pass mouseup
  120.   visual effect iris close
  121.   go first card
  122. end mouseUp
  123.  
  124.  
  125.  
  126. -- part 10 (field)
  127. -- low flags: 00
  128. -- high flags: 0007
  129. -- rect: left=284 top=46 right=278 bottom=510
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 0 / 0
  132. -- text alignment: 0
  133. -- font id: 3
  134. -- text size: 9
  135. -- style flags: 0
  136. -- line height: 12
  137. -- part name: Syntax
  138. ----- HyperTalk script -----
  139. on mousewithin
  140.   --This uses the ART hypertext method to link to another card.
  141.   --It calls the HyperText function in the stack script
  142.   if selection is not empty then put HyperText(selection) into it
  143. end mousewithin
  144.  
  145.  
  146.  
  147. -- part 12 (button)
  148. -- low flags: 00
  149. -- high flags: A003
  150. -- rect: left=60 top=259 right=281 bottom=179
  151. -- title width / last selected line: 0
  152. -- icon id / first selected line: 0 / 0
  153. -- text alignment: 1
  154. -- font id: 0
  155. -- text size: 12
  156. -- style flags: 0
  157. -- line height: 16
  158. -- part name: Resource Mover
  159. ----- HyperTalk script -----
  160. on mouseUp
  161.   if the optionkey is down then pass mouseup
  162.   ResCopy
  163. end mouseUp
  164.  
  165.  
  166.  
  167. -- part 13 (field)
  168. -- low flags: 01
  169. -- high flags: 0002
  170. -- rect: left=461 top=15 right=32 bottom=488
  171. -- title width / last selected line: 0
  172. -- icon id / first selected line: 0 / 0
  173. -- text alignment: 1
  174. -- font id: 3
  175. -- text size: 12
  176. -- style flags: 0
  177. -- line height: 16
  178. -- part name: PageNumber
  179.  
  180.  
  181. -- part 22 (button)
  182. -- low flags: 00
  183. -- high flags: 2004
  184. -- rect: left=3 top=88 right=131 bottom=50
  185. -- title width / last selected line: 0
  186. -- icon id / first selected line: 14767 / 14767
  187. -- text alignment: 1
  188. -- font id: 0
  189. -- text size: 12
  190. -- style flags: 0
  191. -- line height: 16
  192. -- part name: About...
  193. ----- HyperTalk script -----
  194. on mouseUp
  195.   if the optionkey is down then pass mouseup
  196.  
  197.   visual iris open to gray
  198.   visual iris close to black
  199.   visual iris open to gray
  200.   visual iris close
  201.   go background information
  202. end mouseUp
  203.  
  204.  
  205.  
  206. -- part 23 (button)
  207. -- low flags: 00
  208. -- high flags: 2004
  209. -- rect: left=3 top=129 right=172 bottom=50
  210. -- title width / last selected line: 0
  211. -- icon id / first selected line: 29114 / 29114
  212. -- text alignment: 1
  213. -- font id: 0
  214. -- text size: 12
  215. -- style flags: 0
  216. -- line height: 16
  217. -- part name: Back
  218. ----- HyperTalk script -----
  219. on mouseUp
  220.   if the optionkey is down then pass mouseup
  221.  
  222.   visual barn door close to black
  223.   visual barn door open
  224.   pop card
  225. end mouseUp
  226.  
  227.  
  228.  
  229. -- part 24 (button)
  230. -- low flags: 00
  231. -- high flags: 2004
  232. -- rect: left=3 top=170 right=213 bottom=50
  233. -- title width / last selected line: 0
  234. -- icon id / first selected line: 1011 / 1011
  235. -- text alignment: 1
  236. -- font id: 0
  237. -- text size: 12
  238. -- style flags: 0
  239. -- line height: 16
  240. -- part name: Home
  241. ----- HyperTalk script -----
  242. on mouseUp
  243.   if the optionkey is down then pass mouseup
  244.   visual dissolve to black
  245.   visual dissolve
  246.   go first card of home
  247. end mouseUp
  248.  
  249.  
  250.  
  251. -- part 25 (button)
  252. -- low flags: 00
  253. -- high flags: 2004
  254. -- rect: left=3 top=211 right=254 bottom=50
  255. -- title width / last selected line: 0
  256. -- icon id / first selected line: 1000 / 1000
  257. -- text alignment: 1
  258. -- font id: 0
  259. -- text size: 12
  260. -- style flags: 0
  261. -- line height: 16
  262. -- part name: Open Stack
  263. ----- HyperTalk script -----
  264. on mouseUp
  265.   if the optionkey is down then pass mouseup
  266.   put "Please select a stack to open..."
  267.   domenu "open stack..."
  268.   hide message
  269. end mouseUp
  270.  
  271.  
  272.  
  273. -- part 26 (button)
  274. -- low flags: 00
  275. -- high flags: 2004
  276. -- rect: left=3 top=252 right=295 bottom=50
  277. -- title width / last selected line: 0
  278. -- icon id / first selected line: 17343 / 17343
  279. -- text alignment: 1
  280. -- font id: 0
  281. -- text size: 12
  282. -- style flags: 0
  283. -- line height: 16
  284. -- part name: Launch Application
  285. ----- HyperTalk script -----
  286. on mouseUp
  287.   if the optionkey is down then pass mouseup
  288.   visual venetian blinds to gray
  289.   visual venetian blinds to black
  290.   visual venetian blinds to gray
  291.   visual venetian blinds
  292.   go to background "Mini Hyperstation"
  293. end mouseUp
  294.  
  295.  
  296.  
  297. -- part 27 (button)
  298. -- low flags: 00
  299. -- high flags: 2004
  300. -- rect: left=3 top=293 right=336 bottom=50
  301. -- title width / last selected line: 0
  302. -- icon id / first selected line: 21786 / 21786
  303. -- text alignment: 1
  304. -- font id: 0
  305. -- text size: 12
  306. -- style flags: 0
  307. -- line height: 16
  308. -- part name: Menus Off
  309. ----- HyperTalk script -----
  310. on mouseUp
  311.   if the optionkey is down then pass mouseup
  312.  
  313.   if menubar("┬⌐1988SDrazga") then hide menubar else show menubar
  314. end mouseUp
  315.  
  316.  
  317.  
  318. -- part 28 (button)
  319. -- low flags: 00
  320. -- high flags: A003
  321. -- rect: left=60 top=234 right=256 bottom=179
  322. -- title width / last selected line: 0
  323. -- icon id / first selected line: 0 / 0
  324. -- text alignment: 1
  325. -- font id: 0
  326. -- text size: 12
  327. -- style flags: 0
  328. -- line height: 16
  329. -- part name: Install
  330. ----- HyperTalk script -----
  331. on mouseUp
  332.   if the optionkey is down then pass mouseup
  333.   put installres(XCMD,field "name") into it
  334. end mouseUp
  335.  
  336.  
  337.  
  338. -- part 30 (field)
  339. -- low flags: 01
  340. -- high flags: 0004
  341. -- rect: left=283 top=3 right=37 bottom=436
  342. -- title width / last selected line: 0
  343. -- icon id / first selected line: 0 / 0
  344. -- text alignment: 0
  345. -- font id: 3
  346. -- text size: 24
  347. -- style flags: 0
  348. -- line height: 32
  349. -- part name: type
  350.  
  351.  
  352. -- part 38 (button)
  353. -- low flags: 00
  354. -- high flags: A004
  355. -- rect: left=61 top=292 right=341 bottom=119
  356. -- title width / last selected line: 0
  357. -- icon id / first selected line: 2 / 2
  358. -- text alignment: 1
  359. -- font id: 0
  360. -- text size: 12
  361. -- style flags: 0
  362. -- line height: 16
  363. -- part name: XFCNs...
  364. ----- HyperTalk script -----
  365. on mouseUp
  366.   if the optionkey is down then pass mouseup
  367.  
  368.   controlButton "XFCNs"
  369.  
  370. end mouseUp
  371.  
  372.  
  373.  
  374. -- part 39 (button)
  375. -- low flags: 00
  376. -- high flags: A004
  377. -- rect: left=124 top=292 right=341 bottom=182
  378. -- title width / last selected line: 0
  379. -- icon id / first selected line: 2 / 2
  380. -- text alignment: 1
  381. -- font id: 0
  382. -- text size: 12
  383. -- style flags: 0
  384. -- line height: 16
  385. -- part name: XCMDS...
  386. ----- HyperTalk script -----
  387. on mouseUp
  388.   if the optionkey is down then pass mouseup
  389.  
  390.   controlButton "XCMDs"
  391.  
  392. end mouseUp
  393.  
  394.  
  395.  
  396. -- part 40 (button)
  397. -- low flags: 00
  398. -- high flags: A004
  399. -- rect: left=188 top=292 right=341 bottom=246
  400. -- title width / last selected line: 0
  401. -- icon id / first selected line: 29007 / 29007
  402. -- text alignment: 1
  403. -- font id: 0
  404. -- text size: 12
  405. -- style flags: 0
  406. -- line height: 16
  407. -- part name: Functions...
  408. ----- HyperTalk script -----
  409. on mouseUp
  410.   if the optionkey is down then pass mouseup
  411.  
  412.   controlButton "Functions"
  413.  
  414. end mouseUp
  415.  
  416.  
  417.  
  418. -- part 41 (button)
  419. -- low flags: 00
  420. -- high flags: A004
  421. -- rect: left=252 top=292 right=341 bottom=310
  422. -- title width / last selected line: 0
  423. -- icon id / first selected line: 1060 / 1060
  424. -- text alignment: 1
  425. -- font id: 0
  426. -- text size: 12
  427. -- style flags: 0
  428. -- line height: 16
  429. -- part name: Scripts...
  430. ----- HyperTalk script -----
  431. on mouseUp
  432.   if the optionkey is down then pass mouseup
  433.  
  434.   controlButton "Scripts"
  435.  
  436. end mouseUp
  437.  
  438.  
  439.  
  440. -- part 42 (button)
  441. -- low flags: 00
  442. -- high flags: A004
  443. -- rect: left=317 top=292 right=341 bottom=375
  444. -- title width / last selected line: 0
  445. -- icon id / first selected line: 27056 / 27056
  446. -- text alignment: 1
  447. -- font id: 0
  448. -- text size: 12
  449. -- style flags: 0
  450. -- line height: 16
  451. -- part name: Buttons...
  452. ----- HyperTalk script -----
  453. on mouseUp
  454.   if the optionkey is down then pass mouseup
  455.   controlButton "Buttons"
  456. end mouseUp
  457.  
  458.  
  459.  
  460. -- part 43 (button)
  461. -- low flags: 00
  462. -- high flags: A004
  463. -- rect: left=381 top=292 right=341 bottom=439
  464. -- title width / last selected line: 0
  465. -- icon id / first selected line: 22999 / 22999
  466. -- text alignment: 1
  467. -- font id: 0
  468. -- text size: 12
  469. -- style flags: 0
  470. -- line height: 16
  471. -- part name: Quick Ref...
  472. ----- HyperTalk script -----
  473. on mouseUp
  474.   if the optionkey is down then pass mouseup
  475.   controlButton "Quick Ref"
  476. end mouseUp
  477.  
  478.  
  479.  
  480. -- part 44 (button)
  481. -- low flags: 00
  482. -- high flags: A004
  483. -- rect: left=446 top=292 right=341 bottom=504
  484. -- title width / last selected line: 0
  485. -- icon id / first selected line: 11645 / 11645
  486. -- text alignment: 1
  487. -- font id: 0
  488. -- text size: 12
  489. -- style flags: 0
  490. -- line height: 16
  491. -- part name: Full Index...
  492. ----- HyperTalk script -----
  493. on mouseUp
  494.   if the optionkey is down then pass mouseup
  495.   controlbutton index
  496. end mouseUp
  497.  
  498.  
  499.  
  500.  
  501. -- part 45 (field)
  502. -- low flags: 01
  503. -- high flags: 0000
  504. -- rect: left=0 top=0 right=-20 bottom=-20
  505. -- title width / last selected line: 0
  506. -- icon id / first selected line: 0 / 0
  507. -- text alignment: 0
  508. -- font id: 3
  509. -- text size: 12
  510. -- style flags: 0
  511. -- line height: 16
  512. -- part name: ü÷ü±τµ⌠
  513.